Skip to content

Add support for logical indexing that preserves block sparsity #131

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jun 4, 2025

Conversation

mtfishman
Copy link
Member

@mtfishman mtfishman commented Jun 3, 2025

This is work-in-progress for adding support for logical indexing that preserves block sparsity.

Before, logical indexing implicitly worked, but would drop the block structure. This will help when implementing truncated block sparse matrix factorizations, among other things.

Copy link

codecov bot commented Jun 3, 2025

Codecov Report

Attention: Patch coverage is 80.00000% with 15 lines in your changes missing coverage. Please review.

Project coverage is 73.99%. Comparing base (6bee699) to head (2095a54).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/factorizations/polar.jl 50.00% 4 Missing ⚠️
src/abstractblocksparsearray/views.jl 72.72% 3 Missing ⚠️
src/BlockArraysExtensions/BlockArraysExtensions.jl 80.00% 2 Missing ⚠️
src/factorizations/lq.jl 71.42% 2 Missing ⚠️
src/factorizations/svd.jl 75.00% 2 Missing ⚠️
src/BlockArraysExtensions/blockedunitrange.jl 94.73% 1 Missing ⚠️
src/factorizations/qr.jl 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #131      +/-   ##
==========================================
- Coverage   74.15%   73.99%   -0.16%     
==========================================
  Files          34       34              
  Lines        1706     1761      +55     
==========================================
+ Hits         1265     1303      +38     
- Misses        441      458      +17     
Flag Coverage Δ
docs 6.47% <0.00%> (-0.21%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mtfishman mtfishman changed the title [WIP] Add support for logical indexing that preserves block sparsity Add support for logical indexing that preserves block sparsity Jun 4, 2025
@mtfishman mtfishman marked this pull request as ready for review June 4, 2025 17:06
@mtfishman mtfishman merged commit 7d3f1bf into main Jun 4, 2025
16 checks passed
@mtfishman mtfishman deleted the mf/logical_indexing branch June 4, 2025 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant